package com.lb.activity.service;

import com.lb.activity.po.Dept;
import com.lb.activity.util.ResultUtil;

import java.util.List;

public interface DeptService {

    List<Dept> AllDepts();

    ResultUtil addDept(Dept dept);

    int repet(String deptName);

    Dept getById(Long id);

    ResultUtil updateDept(Dept dept);

    ResultUtil removeDept(Long id);

    String deptTree();

    Object deptTreeJson();


}
